import { defineStore } from 'pinia'
import { ref } from 'vue'
const useUserStore = defineStore("user", () => {
    let user = ref({})
    const changeUser = (value) => {
        user.value = value
    }
    return {user,changeUser}
},{
    persist:true
})
export default useUserStore